home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 02 Useful Techniques / 07 Vykruta / ChildView.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-11-21  |  1.6 KB  |  61 lines

  1. // ChildView.h : interface of the CChildView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_CHILDVIEW_H__6F71D25A_D83E_11D5_BA44_000102368FA3__INCLUDED_)
  6. #define AFX_CHILDVIEW_H__6F71D25A_D83E_11D5_BA44_000102368FA3__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. #include <math.h>
  13. class VECTOR2D;
  14.  
  15. void DrawLine(VECTOR2D vOrig, VECTOR2D vLine, int iColorType = 0);
  16. void DrawLine2(VECTOR2D vOrig, VECTOR2D vLine, int iColorType = 0);
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CChildView window
  20.  
  21. class CChildView : public CWnd
  22. {
  23. // Construction
  24. public:
  25.     CChildView();
  26.  
  27. // Attributes
  28. public:
  29.  
  30. // Operations
  31. public:
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CChildView)
  36.     protected:
  37.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  38.     //}}AFX_VIRTUAL
  39.  
  40. // Implementation
  41. public:
  42.     virtual ~CChildView();
  43.  
  44.     // Generated message map functions
  45. protected:
  46.     //{{AFX_MSG(CChildView)
  47.     afx_msg void OnPaint();
  48.     afx_msg void OnLButtonDown( UINT, CPoint );
  49.     afx_msg void OnRButtonDown( UINT, CPoint );
  50.     afx_msg void OnMouseMove( UINT nFlags, CPoint point );
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_CHILDVIEW_H__6F71D25A_D83E_11D5_BA44_000102368FA3__INCLUDED_)
  61.